<template>
      <div class="warning">
        <i class="el-icon-info"></i>
        <span>共{{title}}条记录</span>
      </div>
</template>

<script>
export default {
  name: 'header',
  props: {
    title: {
      type: Number
    }
  }
}
</script>

<style scoped lang='less'>
.warning {
  height: 35px;
  background-color: #f4f4f5;
  font-size: 13px;
  color: #909399;
  padding: 8px 16px;
  margin-bottom: 20px;
  span {
    margin-left: 8px;
  }
}
</style>
